﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace _8Group.MES.Model.PRINT生产管理
{
    /// <summary>
    /// 打印机配置
    /// </summary>
    public class PRINT_Printer_Config : Entity<int>
    {
        /// <summary>
        /// 打印机类型，默认为'BARCODE'
        /// </summary>
        public string? PrinterType { get; set; }

        /// <summary>
        /// 打印机名称，不可为空
        /// </summary>
        public string PrinterName { get; set; }

        /// <summary>
        /// 品牌 
        /// </summary>
        public string? Brand { get; set; }

        /// <summary>
        /// 打印机型号
        /// </summary>
        public string? PrinterModel { get; set; }

        /// <summary>
        /// 连接类型，默认为'NET'
        /// </summary>
        public string? ConnectionType { get; set; }

        /// <summary>
        /// 打印机图片URL地址
        /// </summary>
        public string? PrinterUrl { get; set; }

        /// <summary>
        /// 打印机的IP地址
        /// </summary>
        public string? PrinterIp { get; set; }

        /// <summary>
        /// 打印机的端口，默认为9100
        /// </summary>
        public int? PrinterPort { get; set; }

        /// <summary>
        /// 打印客户端的SID
        /// </summary>
        public string? ClientSid { get; set; }

        /// <summary>
        /// 打印客户端的IP
        /// </summary>
        public string? ClientIp { get; set; }

        /// <summary>
        /// 打印客户端的端口
        /// </summary>
        public int? ClientPort { get; set; }

        /// <summary>
        /// 启用状态，默认为'Y'
        /// </summary>
        public char? EnableFlag { get; set; }

        /// <summary>
        /// 打印机状态
        /// </summary>
        public string? Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 创建记录的用户标识 
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建记录的时间 
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 最后更新记录的用户标识 
        /// </summary>
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 最后更新记录的时间 
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
